package com.brspace.qualitycontrol.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author wangt
 * @Date 2021/4/5 14:43
 * @Version 1.0
 */
@Data
public class EngineeringVo {
    @ApiModelProperty(value = "业主单位")
    private String ownerUnit;

    @ApiModelProperty(value = "工程名称")
    private String projectName;

    @ApiModelProperty(value = "开工时间")
    private String startTime;

    @ApiModelProperty(value = "竣工验收时间")
    private String completeTime;

    @ApiModelProperty(value = "项目数（个）")
    private Integer totle;
    @ApiModelProperty(value = "项目总额")
    private Integer totleMoney;
    @ApiModelProperty(value = "项目回款总额")
    private Integer totleBackMoney;
    
    /**
     * 统计图表数据
     *@author Hugo
     *@date 2021-04-12 14:23
     **/
    public EngineeringVo getinfo(Integer number,Integer totleMoney,Integer totleBackMoney){
        EngineeringVo engineeringVo = new EngineeringVo();
        engineeringVo.setTotle(number);
        engineeringVo.setTotleMoney(totleMoney);
        engineeringVo.setTotleBackMoney(totleBackMoney);
        return engineeringVo;
    }
}
